package com.jjh.mapper;

import com.jjh.pojo.Flavour;
import com.jjh.pojo.Tag;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TagMapper {
    List<Tag> getAll();

    Flavour getByName(String tagName);

    int insertOne(Tag tag);

    int updateById(Tag tag);

    int deleteByIds(List<Integer> ids);
}
